import GameLogic

def main(cont):
	ob = cont.owner
	# print("Hi")
	# return 1
	if "class" in ob:
		ob["class"].main()
	else:
		# We need to load the correct Behavior Module
		x = __import__("Scripts.Behaviors."+ob["Behavior"], globals(), locals(), [ob["Behavior"]])
		
		ob["class"] = getattr(x, ob["Behavior"])(cont)